c# code snippets

85

c# code snippets -

int num;
     String out; 
     if (num Mod 2 == 0)
          out = "Even"; 
    else 
          out = "Odd";

Comments

Submit
0 Comments